package com.company.eduservice.feign.Impl;

import com.company.eduservice.feign.OrderFeignService;
import com.company.servicebase.exception.MyException;
import com.company.utils.ResultCode;
import org.springframework.stereotype.Component;

@Component
public class OrderServiceDegrade implements OrderFeignService {
    @Override
    public boolean isBuyCourse(String courseId, String memberId) {
        throw new MyException(ResultCode.ERROR, "查询用户课程权限失败！");
    }
}
